﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/OneColumn.Master" AutoEventWireup="true"
    CodeBehind="Messages.aspx.cs" Inherits="SharingCenter.Web.User.Message.Messages" %>
    <%@ OutputCache VaryByCustom="userid" Duration="3600" VaryByParam="None" SqlDependency="cdb:Sc_SiteMessages" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    系统消息
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .msgitem
        {
            padding: .5em 0 1.5em 0;
        }
        
        .avatarthumbcontainer{width:78px;}
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <myuc:GenericTabs ID="LinkListTabs1" runat="server" SelectedItem="1" Section="Message" />
    <h2 class="bb">
        <div class="nss ns-mail">
        </div>
        <span class="iconlabel">系统消息</span>
    </h2>
    <div class="fc">
        <div class="left wide-c bdr-r bdr-s-s">
            <asp:ListView ID="ListView1" runat="server" DataSourceID="LinqDataSource1" DataKeyNames="MessageId"
                InsertItemPosition="None">
                <LayoutTemplate>
                    <div runat="server" id="itemPlaceholder" />
                </LayoutTemplate>
                <ItemTemplate>
                    <div class="fc msgitem">
                        <div class="left" style="width: 450px;">
                            <asp:Panel runat="server" ID="cntPanel">
                            </asp:Panel>
                        </div>
                        <div class="textfar">
                            <asp:Label runat="server" CssClass="datetext fd" Text='<%#Eval("MessageDate") %>' />
                        </div>
                    </div>
                </ItemTemplate>
                <ItemSeparatorTemplate>
                    <div class="hr1"></div>
                </ItemSeparatorTemplate>
                <EmptyDataTemplate>
                    <div class="litetext">
                        目前没有系统消息。
                    </div>
                </EmptyDataTemplate>
            </asp:ListView>
            <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="SharingCenter.Web.Classes.scDataContext"
                OrderBy="MessageDate desc" TableName="Sc_SiteMessages">
            </asp:LinqDataSource>
        </div>
        <div class=" wide-s">
            <h3 class="w7 nom">
                消息分类</h3>
            <div class="sc bdr-nt">
                <div>
                    <a href="Messages.aspx">系统消息</a>
                </div>
                <%--<div class="hr1">
                </div>
                <div>
                    <a href="Private.aspx">短消息</a></div>--%>
                <div class="hr1">
                </div>
                <div>
                    <a href="Requests.aspx">各项请求</a></div>
            </div>
        </div>
    </div>
</asp:Content>
